
@extends('Admin.index')

@section('css')
 {{--   <link rel="stylesheet" href="/libs/layui/layui.css">
    <link rel="stylesheet" href="/libs/layui/css/modules/laydate/laydate.css">
    <link rel="stylesheet" href="/libs/webuploader/webuploader.css" type="text/css"/>--}}
    <style>
        th {
            text-align: center;
        }
    </style>

@endsection

@section('content')
    <div class="app-third-sidebar">
        <nav class="ui-nav " style="display: block;">
            <ul>
                <li>
                    <a href="javascript: void(0);"><span>金币详情</span></a>
                </li>
            </ul>
            <div class="top-back">
                <button class="btn btn-default layer-go-back" role="button">返回</button>
            </div>
        </nav>
    </div>

    <div id="wrapper">

        <div class="row">
            <div class="col-lg-12">
                <form class="form-horizontal" style="margin-top: 0px;" role="form">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h2 class="panel-title">金币详情</h2>
                        </div>
                        <div class="panel-body">
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th>ID号</th>
                                    <th>操作时间</th>
                                    <th>类型</th>
                                    <th>金币数</th>
                                </tr>

                                </thead>
                                <tbody id="coupon_detail">
                                @if($total > 0)
                                    @if( isset( $rows ) && !empty( $rows ) )
                                        @foreach( $rows as $k => $list )
                                            <tr>
                                                <td align="center">{{$list['id']}}</td>
                                                <td align="center">{{$list['dtModifyTime']}}</td>
                                                <td align="center">{{$list['type']}}</td>
                                                <td align="center">{{$list['iGoldBeanConsume']}}</td>
                                            </tr>
                                        @endforeach
                                    @endif
                                @endif

                                </tbody>
                            </table>
                        </div>
                    </div>

                    <div class="fixed-table-pagination" style="display: block;">
                        <div class="pull-right pagination">
                            {!! $link !!}
                        </div>
                    </div>
                </form>

            </div>
        </div>
    </div>

@endsection

@section('js')
    <script src="/libs/layui-v2.1.5/layui.js?v=20171207" charset="utf-8"></script>
    <script src="/libs/webuploader/webuploader.js"></script>
    <script>

    </script>
@endsection